<div>
	<form method="post" id="stock_${action_id}" name="stock_${action_id}">
		<input type="hidden" name="id" value="${id?default('')}">
		<div title="规格" style="padding:10px">
			<div style="width: 500px; margin:0 auto; padding:20px; border: 1px solid #A3C0E8;">
				<div>
		            <ul style="list-style:none;">
		                <li>
		                <div id="createTable">
		                	<#if productSkus??>
		                	<table border="1" cellpadding="1" cellspacing="0" style="width:100%;padding:5px;">
		                		<thead>
		                			<tr>
	                					<#list productSkus[0].dtos as dto>
	                					<th>${dto.productSpecifications.name}</th>
	                					</#list>
	                					<th style="width:70px;">价格</th>
		                			</tr>
		                		</thead>
		                		<tbody>
		                			<#list productSkus as productSku>
                						<tr>
                							<#list productSku.dtos as dto>
		                						<#list dto.list as d>
		                							<td>${d.value?default('')}</td>
		                						</#list>
		                					</#list>
		                					<td>
		                						<input name="_product_sku_${productSku.id?default('')}" type="hidden" value="${productSku.id?default('')}">
		                						<input name="_product_sku_${productSku.id?default('')}" type="text" class="easyui-numberspinner" data-options="required:true,precision:2,min:0,max:999999" value="${productSku.price}">
		                					</td>
		                				</tr>
                					</#list>
		                		</tbody>
		                	</table>
		                	</#if>
		                </div>
		                </li>
		            </ul>
		        </div>
			</div>
			</table>
		</div>
	</form>
</div>
